from applications.extensions import ma
from marshmallow import fields


# wiki的序列化类
class WikiOutSchema(ma.Schema):
    disease_num = fields.Integer()
    disease_name = fields.Str()
    disease_harm = fields.Str()
    disease_symptom = fields.Str()
    disease_prevention = fields.Str()
    disease_img = fields.Str()
    disease_explain = fields.Str()
    disease_access = fields.Integer()
